package com.tenement.service;

import com.tenement.domain.TenementPerformance;
import com.tenement.domain.TenementUser;
import com.tenement.utils.PerformanceTotal;

import java.util.List;

/**
 * @ClassName : PerformanceService  //类名
 * @Description : ${description}  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-07-12 20:48  //时间
 */
public interface PerformanceService {
    List<TenementPerformance> findAll(TenementPerformance performance, Integer page, Integer limit);

    Long overCount(TenementPerformance performance);

    int add(TenementPerformance performance, TenementUser user, String ip);

    int update(TenementPerformance performance, TenementUser user, String ip);

    int deleteById(String id, String ip, TenementUser user);

    int deleteAll(String[] ids, String ip, TenementUser user);

    TenementPerformance findById(String id);

    PerformanceTotal selectTotal(TenementPerformance performance);
}
